/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.com.pps.dao;

import java.util.List;
import vn.com.pps.entities.CourseTeacherAttendance;

/**
 *
 * @author Dai
 */
public interface ICourseTeacherAttendenceDAO {

    public int insert(CourseTeacherAttendance courseTeacherAttendance);

    public int update(CourseTeacherAttendance courseTeacherAttendance);

    public int delete(int id);
    
    public CourseTeacherAttendance getCourseTeacherAttendance(Integer id);

    public Page<CourseTeacherAttendance> getTakenRecordsByCourse(int pageNo, int pageSize, int courseID);
   
    public int getTakenRecordCount(int courseID);
    
    public List<CourseTeacherAttendance> getTakenRecordsByCourse(int courseID);
    
    public List<CourseTeacherAttendance> getTakenRecords(String whereClause);
}
